#include "Classes.h"
#include <iostream>

int main()
{
	try
	{
		BigInteger a="12";
		BigInteger b="12";
		BigInteger result1=a+b;
		BigInteger result2,result3,result4;
		result2=a-b;
		result3=a*b;
		result4=b/a;
		std::cout<<result1<<" "<<result2<<" "<<result3<<" "<<result4<<std::endl;
	}
	catch(std::bad_alloc)
	{
		std::cout<<"Some problems with memory"<<std::endl;
	}
	catch(const std::string& e)
	{
		std::cout<<e<<std::endl;
	}
	system("pause");
	return 0;
}